home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_12_02
/
labrocca
/
makefile.mak
< prev
next >
Wrap
Makefile
|
1993-12-01
|
804b
|
46 lines
# Listing 4
# makefile for ARCH.EXE and EXTR.EXE
# Copyright 1993 by P.J. LaBrocca
# All rights reserved.
#
#CC =cl /c /AL /Od /Zi
CC =cl /c /AL
#CV =/CO
CV =
.c.obj:
$(CC) $*.c
all : arch.exe extr.exe
arch.exe :arch.obj
link arch+setargv,,, /NOE /NOI $(CV) ;
arch.obj : arch.c sea.h
# remake.bat requires awk
extr.exe : extr.obj
link extr, , , /NOI $(CV) ;
# remake.bat
extr.obj : extr.c sea.h
backup: backup1 backup2
backup1: arch.c makefile extr.c archart.doc sea.h
cp -m $? a:\archart
touch backup1
backup2: remake.bat remake.awk
cp -m $? a:\archart
touch backup2
hcopy: hcopy1
hcopy1: arch.c makefile extr.c sea.h archart.txt
pr -W -e4 -n' '3 $? > prn
touch hcopy1